body, h1, h2, p, ul {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo img {
    height: 70px; 
    width: auto;
    margin-left: 1px; 
}

/* Header */
.header {
    background-color: #576ff5;
    color: white;
    padding: 10px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    font-size: 24px;
    margin-left: 20px;
}

.hospital-name {
    font-size: 80px;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

/* Navigation Bar */
.navbar {
    background-color: #0f0202;
    overflow: hidden;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 0px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 20px 30px;
    display: block;
}

.navbar ul li a:hover {
    background-color: #0c0101;
}

/* Main Content */
.main-content {
    padding: 20px;
}

.about-section {
    display: flex;
    margin-bottom: 20px;
}

.image-left {
    flex: 1;
    height: 200px;
    margin-right: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.image-left img{
    width: 350px;
    height: auto;
}
.text-right {
    flex: 1;
    background-color: #f4f4f4;
    padding: 20px;
}

.image-placeholder {
    background-color: #eee;
    height: 100px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.table-section {
    background-color: #eee;
    padding: 20px;
    margin-bottom: 20px;
}

.table-section h2 {
    margin-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 10px;
    text-align: center;
}

tfoot td {
    font-weight: bold;
    background-color: #f9f9f9;
    padding: 15px;
}
/* Footer */
.footer {
    background-color: #576ff5;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    padding: 10px;
}

.footer-section h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-section p, .footer-section ul {
    font-size: 14px;
    line-height: 1.6;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #ffcc00;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-color: #222;
    padding: 10px;
    font-size: 14px;
}

.footer-bottom a {
    color: #ffcc00;
    text-decoration: none;
}
/* Mobile Devices (max-width: 600px) */
@media (max-width: 600px) {
    /* Header */
    .header {
        flex-direction: column;
        align-items: center;
    }

    .hospital-name {
        font-size: 40px;
    }

    /* Navigation Bar */
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .navbar ul li a {
        padding: 10px 20px;
    }

    /* About Section */
    .about-section {
        flex-direction: column;
    }

    .image-left img {
        width: 100%;
        height: auto;
    }

    .text-right {
        margin-top: 20px;
        padding: 10px;
    }

    /* Table Section */
    .table-section {
        padding: 10px;
    }

    table, th, td {
        font-size: 12px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* Tablets (min-width: 601px and max-width: 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    /* Header */
    .hospital-name {
        font-size: 60px;
    }

    /* Navigation Bar */
    .navbar ul {
        flex-direction: row;
    }

    .navbar ul li a {
        padding: 15px 25px;
    }

    /* About Section */
    .about-section {
        flex-direction: column;
    }

    .image-left img {
        width: 100%;
    }

    .text-right {
        padding: 15px;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}

/* Mobile inquiries start */

/* General layout changes for mobile (max width of 768px) */
@media (max-width: 768px) {
  .navbar ul {
      flex-direction: column; /* Stack navbar items vertically */
      align-items: center;
  }

  .navbar ul li {
      margin-bottom: 10px; /* Add spacing between stacked nav items */
  }

  .navbar ul li a {
      padding: 10px 20px; /* Reduced padding for nav links */
  }

  /* Header adjustments */
  .hospital-name {
      font-size: 40px; /* Smaller hospital name for mobile */
  }

  .logo img {
      height: 50px; /* Smaller logo size for mobile */
  }

  /* Footer adjustments */
  .footer-content {
      flex-direction: column; /* Stack footer sections vertically */
      text-align: center;
  }

  .footer-section {
      margin-bottom: 20px;
  }
}
